<?php
$single_photo_id= mres(($_GET['photo_id']));
$single_photo=getSinglePhoto($single_photo_id);
$other_photos=getOtherPhotos($single_photo['username']);
$smarty->assign('single_photo', $single_photo);
$smarty->assign('other_photos', $other_photos);

include('header.php');
$smarty->assign('media', siteinfo('media'));
include('chat.php');
include('sidebar_banners.php');



$smarty->display('galerija_single.tpl');
include('lightbox.php');
include('footer.php');
?>
